package com.lzp.copyui.rv

import android.content.Intent
import android.os.Bundle
import com.base.BaseActivity
import com.lzp.copyui.databinding.RvMainActivityBinding

/**
 * @describe:
 * @Author: lixiaopeng
 * @Date: 2021/8/5
 */
class RvMainActivity : BaseActivity() {

    private val binding by lazy { RvMainActivityBinding.inflate(layoutInflater) }
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(binding.root)
    }

    override fun setListener() {
        super.setListener()
        binding.snapHelper.setOnClickListener { startActivity(Intent(this, SnapHelperActivity::class.java)) }
        binding.fade.setOnClickListener { startActivity(Intent(this, RvFadeActivity::class.java)) }
    }
}